Optimal. Leaf size=88 \[ \frac {2}{3 a x^{3/2} (a-b x)^{3/2}}+\frac {4}{a^2 x^{3/2} \sqrt {a-b x}}-\frac {16 \sqrt {a-b x}}{3 a^3 x^{3/2}}-\frac {32 b \sqrt {a-b x}}{3 a^4 \sqrt {x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {47, 37}
\begin {gather*} -\frac {32 b \sqrt {a-b x}}{3 a^4 \sqrt {x}}-\frac {16 \sqrt {a-b x}}{3 a^3 x^{3/2}}+\frac {4}{a^2 x^{3/2} \sqrt {a-b x}}+\frac {2}{3 a x^{3/2} (a-b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rubi steps
\begin {align*} \int \frac {1}{x^{5/2} (a-b x)^{5/2}} \, dx &=\frac {2}{3 a x^{3/2} (a-b x)^{3/2}}+\frac {2 \int \frac {1}{x^{5/2} (a-b x)^{3/2}} \, dx}{a}\\ &=\frac {2}{3 a x^{3/2} (a-b x)^{3/2}}+\frac {4}{a^2 x^{3/2} \sqrt {a-b x}}+\frac {8 \int \frac {1}{x^{5/2} \sqrt {a-b x}} \, dx}{a^2}\\ &=\frac {2}{3 a x^{3/2} (a-b x)^{3/2}}+\frac {4}{a^2 x^{3/2} \sqrt {a-b x}}-\frac {16 \sqrt {a-b x}}{3 a^3 x^{3/2}}+\frac {(16 b) \int \frac {1}{x^{3/2} \sqrt {a-b x}} \, dx}{3 a^3}\\ &=\frac {2}{3 a x^{3/2} (a-b x)^{3/2}}+\frac {4}{a^2 x^{3/2} \sqrt {a-b x}}-\frac {16 \sqrt {a-b x}}{3 a^3 x^{3/2}}-\frac {32 b \sqrt {a-b x}}{3 a^4 \sqrt {x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 50, normalized size = 0.57 \begin {gather*} -\frac {2 \left (a^3+6 a^2 b x-24 a b^2 x^2+16 b^3 x^3\right )}{3 a^4 x^{3/2} (a-b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 80, normalized size = 0.91
method | result | size |
gosper | \(-\frac {2 \left (16 b^{3} x^{3}-24 a \,b^{2} x^{2}+6 a^{2} b x +a^{3}\right )}{3 x^{\frac {3}{2}} \left (-b x +a \right )^{\frac {3}{2}} a^{4}}\) | \(45\) |
risch | \(-\frac {2 \sqrt {-b x +a}\, \left (8 b x +a \right )}{3 a^{4} x^{\frac {3}{2}}}+\frac {2 b^{2} \left (-8 b x +9 a \right ) \sqrt {x}}{3 \left (-b x +a \right )^{\frac {3}{2}} a^{4}}\) | \(51\) |
default | \(-\frac {2}{3 a \,x^{\frac {3}{2}} \left (-b x +a \right )^{\frac {3}{2}}}+\frac {2 b \left (-\frac {2}{a \left (-b x +a \right )^{\frac {3}{2}} \sqrt {x}}+\frac {4 b \left (\frac {2 \sqrt {x}}{3 a \left (-b x +a \right )^{\frac {3}{2}}}+\frac {4 \sqrt {x}}{3 a^{2} \sqrt {-b x +a}}\right )}{a}\right )}{a}\) | \(80\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 68, normalized size = 0.77 \begin {gather*} -\frac {2 \, {\left (\frac {9 \, \sqrt {-b x + a} b}{\sqrt {x}} + \frac {{\left (-b x + a\right )}^{\frac {3}{2}}}{x^{\frac {3}{2}}}\right )}}{3 \, a^{4}} + \frac {2 \, {\left (b^{3} - \frac {9 \, {\left (b x - a\right )} b^{2}}{x}\right )} x^{\frac {3}{2}}}{3 \, {\left (-b x + a\right )}^{\frac {3}{2}} a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.64, size = 70, normalized size = 0.80 \begin {gather*} -\frac {2 \, {\left (16 \, b^{3} x^{3} - 24 \, a b^{2} x^{2} + 6 \, a^{2} b x + a^{3}\right )} \sqrt {-b x + a} \sqrt {x}}{3 \, {\left (a^{4} b^{2} x^{4} - 2 \, a^{5} b x^{3} + a^{6} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 5.35, size = 688, normalized size = 7.82 \begin {gather*} \begin {cases} \frac {2 a^{4} b^{\frac {19}{2}} \sqrt {\frac {a}{b x} - 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} + \frac {10 a^{3} b^{\frac {21}{2}} x \sqrt {\frac {a}{b x} - 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} - \frac {60 a^{2} b^{\frac {23}{2}} x^{2} \sqrt {\frac {a}{b x} - 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} + \frac {80 a b^{\frac {25}{2}} x^{3} \sqrt {\frac {a}{b x} - 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} - \frac {32 b^{\frac {27}{2}} x^{4} \sqrt {\frac {a}{b x} - 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} & \text {for}\: \left |{\frac {a}{b x}}\right | > 1 \\\frac {2 i a^{4} b^{\frac {19}{2}} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} + \frac {10 i a^{3} b^{\frac {21}{2}} x \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} - \frac {60 i a^{2} b^{\frac {23}{2}} x^{2} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} + \frac {80 i a b^{\frac {25}{2}} x^{3} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} - \frac {32 i b^{\frac {27}{2}} x^{4} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{7} b^{9} x + 9 a^{6} b^{10} x^{2} - 9 a^{5} b^{11} x^{3} + 3 a^{4} b^{12} x^{4}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 207 vs.
\(2 (66) = 132\).
time = 1.72, size = 207, normalized size = 2.35 \begin {gather*} -\frac {2 \, \sqrt {-b x + a} {\left (\frac {8 \, {\left (b x - a\right )} b^{2} {\left | b \right |}}{a^{4}} + \frac {9 \, b^{2} {\left | b \right |}}{a^{3}}\right )}}{3 \, {\left ({\left (b x - a\right )} b + a b\right )}^{\frac {3}{2}}} - \frac {8 \, {\left (3 \, {\left (\sqrt {-b x + a} \sqrt {-b} - \sqrt {{\left (b x - a\right )} b + a b}\right )}^{4} \sqrt {-b} b^{3} - 9 \, a {\left (\sqrt {-b x + a} \sqrt {-b} - \sqrt {{\left (b x - a\right )} b + a b}\right )}^{2} \sqrt {-b} b^{4} + 4 \, a^{2} \sqrt {-b} b^{5}\right )}}{3 \, {\left ({\left (\sqrt {-b x + a} \sqrt {-b} - \sqrt {{\left (b x - a\right )} b + a b}\right )}^{2} - a b\right )}^{3} a^{3} {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 92, normalized size = 1.05 \begin {gather*} \frac {2\,a^3\,\sqrt {a-b\,x}+32\,b^3\,x^3\,\sqrt {a-b\,x}+12\,a^2\,b\,x\,\sqrt {a-b\,x}-48\,a\,b^2\,x^2\,\sqrt {a-b\,x}}{x^{3/2}\,\left (x\,\left (6\,a^5\,b-3\,a^4\,b^2\,x\right )-3\,a^6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________